﻿using System.IO;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PathData
{
    public string name; //名字
    public float allCost;
    public float toStartCost; //到起始点消耗
    public float toEndCost; //到结束点消耗
    public PathData father; //父节点
    public float fatherToMeCost; //到父节点消耗
    public string pathaType;
    public int[] pathCy; //路径标记 int[] 

    E_PathGrid_Type pathType;

    public E_PathGrid_Type PathType { get => pathType; set => pathType = value; }


    public PathData()
    {

    }

    public PathData(string name)
    {
        this.name = name;
    }


}
